package com.guagua.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guagua.blog.entity.Like;

public interface LikeService extends IService<Like> {
    /**
     * 切换点赞状态
     */
    boolean toggleLike(Long userId, Long articleId);

    /**
     * 检查是否已点赞
     */
    boolean isLiked(Long articleId, Long userId);
} 